package com.cy.sys.log.Dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.cy.sys.pojo.SysRoleMenus;
import com.cy.sys.pojo.SysUser;
@Mapper
public interface SysUserDao {
	int getUserRowCount(String name);
	
	List<SysUser> findAllUserObject(String name,Integer pageCurrent,Integer pageSize);
	
	//添加信息模块
	int insertuserRoleObject(SysUser sysuser);
	//修改信息回显
	SysRoleMenus findroleById(Integer id);
	//修改自身信息
	int updateObjectById(SysUser sysuser);
	
	List<Integer> findRoleuserById(Integer roleId);
}
